package code.framework.android.core;

import java.io.Serializable;
import java.util.Collection;

import android.content.Context;
import android.os.Handler;
import code.framework.android.data.ApplicationPreference;

public interface ApplicationContext extends ApplicationConstants {

	void sendToastMessage(String message, Context context);

	/**
	 * simulate a modal message with a mask activity
	 * 
	 * @param message
	 * @param context
	 */
	void sendModalMessage(String message, Context context);

	void sendSerializableCollection(Collection<?> collection, Handler handler);

	void sendSerializable(Serializable serializable, Handler handler);

	void startIntentWithAKey(Context context, Class<?> target, String key,
			Integer value);
	
	ApplicationPreference getApplicationPreference();

}
